package com.sharding.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharding.demo.entity.Orders;
import com.sharding.demo.vo.OffocialDemoVo;
import com.sharding.demo.vo.OrdersVo;
import com.sharding.demo.vo.UserStaticsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * user dao层
 * @author lihaodong
 */
public interface OrdersMapper extends BaseMapper<Orders> {

    List<Orders> selecManualPage(@Param("lastId") Long lastId, @Param("pageSize") Integer pageSize,@Param("orders") OrdersVo orders);

    List<UserStaticsVo> staticsUser();

    List<UserStaticsVo> staticsUserSingle();

    List<OffocialDemoVo> officialDemo(@Param("orders") OrdersVo state);

}